/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.media.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hk.media.entity.HkMediaCarousel;
import com.thinkgem.jeesite.modules.hk.media.dao.HkMediaCarouselDao;

/**
 * 自媒体主页轮播图Service
 * @author 罗天文
 * @version 2018-04-13
 */
@Service
@Transactional(readOnly = true)
public class HkMediaCarouselService extends CrudService<HkMediaCarouselDao, HkMediaCarousel> {

	public HkMediaCarousel get(String id) {
		return super.get(id);
	}
	
	public List<HkMediaCarousel> findList(HkMediaCarousel hkMediaCarousel) {
		return super.findList(hkMediaCarousel);
	}
	
	public Page<HkMediaCarousel> findPage(Page<HkMediaCarousel> page, HkMediaCarousel hkMediaCarousel) {
		return super.findPage(page, hkMediaCarousel);
	}
	
	@Transactional(readOnly = false)
	public void save(HkMediaCarousel hkMediaCarousel) {
		super.save(hkMediaCarousel);
	}
	
	@Transactional(readOnly = false)
	public void delete(HkMediaCarousel hkMediaCarousel) {
		super.delete(hkMediaCarousel);
	}
	
}